<?php
class ORMProductSelect extends ORMBase {
  public function __construct() {
    parent::__construct('ProductSelect');
  }

  public function __toEpObject($myManager, $epObject, $object) {
    $epObject->trackId = isset($object->trackId) ? $object->trackId : '';
    $epObject->sampleAttributeOptionId = isset($object->sampleAttributeOptionId) ? $object->sampleAttributeOptionId : '';
    $epObject->sampleAttributeId = isset($object->sampleAttributeId) ? $object->sampleAttributeId : '';
    $epObject->sampleAttributeName = isset($object->sampleAttributeName) ? $object->sampleAttributeName : '';
    $epObject->name = isset($object->name) ? $object->name : '';
    return $epObject;
  }

  public function __toObject($myManager, $epObject, $object) {
    $object->id = $epObject->oid;
    $object->trackId = $epObject->trackId;
    $object->sampleAttributeOptionId = $epObject->sampleAttributeOptionId;
    $object->sampleAttributeId = $epObject->sampleAttributeId;
    $object->sampleAttributeName = $epObject->sampleAttributeName;
    $object->name = $epObject->name;
    return $object;
  }
}
?>
